export default {
  sidebar: state => state.app.sidebar,
  // 用户数据
  userInfo: state => state.user.userInfo,
  roles: state => state.user.roles,
  routes: state => state.user.routes, // 路由
  modulesRoles: state => state.user.modulesRoles,
  token: state => state.user.token
}
